module.exports = function (app) {
    const { router } = app;
   
    const prefix = '/api/award';
    router.post(prefix + '-kind/create',  app.controller.awardKind.create);
    router.post(prefix + '-kind/list', app.controller.awardKind.list);
    router.post(prefix + '-kind/update', app.controller.awardKind.update);
    router.post(prefix + '-kind/delete', app.controller.awardKind.delete);
    router.post(prefix + '-kind/setLatest', app.controller.awardKind.setLatest);



    router.post(prefix + '-list/create',  app.controller.awardList.create);
    router.post(prefix + '-list/list', app.controller.awardList.list);
    router.post(prefix + '-list/update', app.controller.awardList.update);
    router.post(prefix + '-list/delete', app.controller.awardList.delete);

  }